//
//  WLHomeCell.swift
//  LianTongSF
//
//  Created by Visitor on 2017/7/10.
//  Copyright © 2017年 万利. All rights reserved.
//

import UIKit

class WLHomeCell: UITableViewCell {
    
    
    @IBOutlet weak var iconVIew: UIImageView!
    
    @IBOutlet weak var titleStr: UILabel!
    
    @IBOutlet weak var subTitleStr: UILabel!
    @IBOutlet weak var lookbtnPropers: UIButton!
    
    @IBAction func lookBtn() {
        DLog(log: #function)
    }
    

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        self.backgroundColor = .clear
        lookbtnPropers.layer.cornerRadius = 3
        lookbtnPropers.layer.masksToBounds = true
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)
    }
    
    class func cellWithTableView(tableView: UITableView) ->WLHomeCell{
        let str = "WLHomeCell"
        var cell = tableView.dequeueReusableCell(withIdentifier: str)
        if cell == nil {
            let homeCell = Bundle.main.loadNibNamed("WLHomeCell", owner: nil, options: nil)?.last as! WLHomeCell
            cell = homeCell
        }
        tableView.separatorStyle = UITableViewCellSeparatorStyle.none
        return cell as! WLHomeCell
    }



}
